<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include/taglibs.jsp" %>
<html>
<head>
    <%@include file="/include/header.html" %>
    <script type="text/javascript" src="${ctx}/appjs/ugs/tenantUgsMemberLevel.js"></script>
    <link rel="stylesheet" href="${ctx}/statics/css/update.css">
    <link rel="stylesheet" href="${ctx}/statics/css/common.css">
    <link rel="stylesheet" href="${ctx}/libjs/plugins/bootstrap-table-pagejump/bootstrap-table-pagejump.css">
    <script src="${ctx}/libjs/plugins/bootstrap-table-pagejump/bootstrap-table-pagejump.js"></script>
    <%--<link rel="stylesheet" href="${ctx}/libjs/plugins/laydate/skins/laydate.css">--%>
    <link rel="stylesheet" href="${ctx}/libjs/plugins/laydate/laydate.css">
    <script src="${ctx}/libjs/plugins/laydate/laydate.js"></script>
    <link rel="stylesheet" href="${ctx}/libjs/plugins/bootStrap-table-fixed-column/bootstrap-table-fixed-columns.css">
    <script src="${ctx}/libjs/plugins/bootStrap-table-fixed-column/bootstrap-table-fixed-columns.js"></script>
    <style>
        .bootstrap-table .fixed-table-container .table thead th .th-inner {
            text-align: center !important;
        }
    </style>
</head>

<script type="text/javascript">
    $('#topLink', window.parent.document).html(function (i, origText) {
        return '<ol class="breadcrumb">' +
            '<li class="breadcrumb-item">' +
            '<a href="">主页</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a>会员管理</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<strong>会员等级管理记录</strong>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a href="javascript:window.history.back()"><i class="fa fa-times"></i> 返回</a>' +
            '</li>' +
            '</ol>';
    });
    var s_detail_h = '';
    var has_add = '';
    var has_edit = '';
    var s_cec_equipment_h = '';
    var s_switch_h = '';
    var s_addImage_h = '';
    var s_editImage_h = '';
    var s_electricityPrice_h = '';
    var has_edit = '';
    var s_vip_h = '';
    var MemberManager_tenantUgsMemberLevel_look = false;
</script>

<body class="gray-bg" heigh="70%">
<div class="wrapper wrapper-content ">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <shiro:hasPermission name="MemberManager_tenantUgsMemberLevel_reload">
                    <div class="row">
                        <input id="mobileAndNickName" name="mobileAndNickName" type="text"
                               class="form-control shortInput" placeholder="手机号/用户名">
                        <select id="userLevel" name="userLevel" class="form-control shortInput input-distance"
                                placeholder="用户等级">
                            <option value="" selected>等级名称</option>
                            <c:forEach items="${tenantUgsLevelTypes}" var="tenantUgsLevelType">
                                <option value="${tenantUgsLevelType.levelType}">${tenantUgsLevelType.levelTypeName}</option>
                            </c:forEach>
                        </select>
                        <select id="memberType" name="memberType" class="form-control shortInput input-distance"
                                placeholder="会员类型">
                            <option value="">会员类型</option>
                            <option value="0">个人</option>
                            <option value="1">企业主账户</option>
                            <option value="2">企业子账户</option>
                            <option value="3">互联互通用户</option>
                        </select>
                        <button class="btn btn-success input-distance" onclick="tenantUgsMemberLevel.reLoad()">查询
                        </button>
                    </div>
                </shiro:hasPermission>
                <table id="exampleTable" data-mobile-responsive="true">
                </table>
            </div>
        </div>
    </div>
</div>
<shiro:hasPermission name="MemberManager_tenantUgsMemberLevel_look">
    <script>
        MemberManager_tenantUgsMemberLevel_look = true;
    </script>
</shiro:hasPermission>
<script type="text/javascript">
    tenantUgsMemberLevel.init();
</script>
</body>
</html>